<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网上业务申请系统</title>
<script type="text/javascript">
	$(document)
			.ready(
					function() {
						$("#addMarine")
								.click(
										function() {
											openAlone("${ctx}/obusiness/marine/dmarine.jsp?projectId=${projectId}");
										});
					});
</script>
</head>
<body>
	<div id="heading" class="detection">
		<h6>交工质量鉴定（水运）申请</h6>
	</div>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form class="yform" id="mainForm"
		action="${ctx }/obusiness/marine/detection/marine.action?projectId=${projectId }"
		method="post">
		<div id="filter">
			<ul>
				<li>项目名称：<input type="text"
					name="filter_LIKES_projectInfo.projName"
					value="${param['filter_LIKES_projectInfo.projName']}" /></li>
				<li>申请编号：<input type="text" name="filter_LIKES_applicationCode"
					value="${param['filter_LIKES_applicationCode']}" /></li>
			</ul>
			<div class="type-button">
				<input type="button" value="查询" onclick="search();" class='search' />
			</div>
		</div>
		<div>
			<table>

				<tr valign="top">
					<th>序号</th>
					<th>项目名称</th>
					<th>申请编号</th>
					<th>申请单位</th>
					<th>申请日期</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${page.result }" var="apli" varStatus="num">
					<tr valign="top">
						<td>${num.count }</td>
						<td><pt:text limit="15">${apli.projectInfo.projName }</pt:text></td>
						<td>${apli.applicationCode }</td>
						<td><pt:text limit="8"><pt:labels type="org" argument1="${apli.orgId }"
								single="true"></pt:labels></pt:text></td>
						<td><fmt:formatDate value="${apli.prepareDate }"
								pattern="yyyy-MM-dd" /></td>
						<td><a
							href="javascript:openAlone('${ctx}/business/marine/detection/marine!judge.action?id=${apli.id }&fid=${apli.id}&projectId=${apli.projectInfo.id}')">处理</a>
							<a
							href="javascript:openAlone('${ctx}/business/marine/detection/history.action?key=${apli.id}&pngFileName=recheck.png&projectId=${apli.projectInfo.id}&fid=${apli.id}')">状态</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
		<jsp:include page="/common/page.jsp" flush="true" />
	</form>
</body>
